home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
comm
/
thor12.zip
/
THOR.LHA
/
rexx
/
getbbslist.thor
< prev
next >
Wrap
Text File
|
1994-03-03
|
629b
|
36 lines
/*
** getbbslist.thor - demonstrates the GETBBSLIST function
**
** Will return 10 if THOR was not able to optain the bbs list, which is
** highly unlikely. Returns 0 on success.
**
** Template:
**
** STEM/A
**
** STEM is the stem variable THOR will but the result into, and it must be
** supplied or this command will fail. The stem variable must be in
** uppercase.
** THOR will return the number of BBSes found in the list in the stem
** variable <stem>.COUNT.
**
*/
address "THOR.01"
GETBBSLIST stem BBSLIST
if(rc ~= 0) then exit
i = BBSLIST.COUNT
n = 1
DO while i > 0 & n <= i
say BBSLIST.n
n = n + 1
END
exit